import request from '@/utils/request'
import qs from 'qs'

/** *******************        rebate-activity          ********************/

export function fetchMsgWorkerList(query) {
  return request({
    url: '/devops/support/msgWorker/list',
    method: 'get',
    params: query
  })
}

export function fetchMsgWorker(id) {
  return request({
    url: `/devops/support/msgWorker/${id}`,
    method: 'get'
  })
}

export function retryMsgWorker(id) {
  return request({
    url: `/devops/support/msgWorker/retry/${id}`,
    method: 'put'
  })
}
